package com.gagakuai.bpm.domian.entity.camuda;

import lombok.Data;

import java.util.Date;

/*
 * 历史的流程实例表。
 */
@Data
public class ActHiProcinst {
    /*
     * 主键
     */
    private String id;

    /*
     * 流程实列ID
     */
    private String procInstId;

    /*
     * 业务KEY
     */
    private String businessKey;

    /*
     * 流程定义key
     */
    private String procDefKey;

    /*
     * 流程定义ID
     */
    private String procDefId;

    /*
     * 开始时间
     */
    private Date startTime;

    /*
     * 结束时间
     */
    private Date endTime;

    /*
     * 移除时间
     */
    private Date removalTime;

    /*
     * 耗时
     */
    private Long duration;

    /*
     * 启动ID
     */
    private String startUserId;

    /*
     * 启动节点ID
     */
    private String startActId;

    /*
     * 结束节点ID
     */
    private String endActId;

    /*
     * 夫流程实列ID
     */
    private String superProcessInstanceId;

    /*
     * 流程实列根ID
     */
    private String rootProcInstId;

    /*
     * 夫案列实列ID
     */
    private String superCaseInstanceId;

    /*
     * 案列实列ID
     */
    private String caseInstId;

    /*
     * 删除原因
     */
    private String deleteReason;

    /*
     * 租户ID
     */
    private String tenantId;

    /*
     * 状态
     */
    private String state;

}